<template>
    <TablePro v-bind="tableConfig" />
</template>

<script setup>

    import TablePro from '@/components/TablePro.vue';
    import { getFriend } from '@/apis/book';
    import { reactive } from 'vue';

    const tableConfig = reactive({
    // 传递方法
    apiData: getFriend,
    fields: { user_id: 'QQ',nickname:'昵称', remark: '备注'}
})
</script>